[gd_scene load_steps=9 format=2]

[ext_resource path="res://menu.gd" type="Script" id=1]
[ext_resource path="res://switch_shader.shader" type="Shader" id=2]
[ext_resource path="res://menu_textures/glow_1.png" type="Texture" id=3]
[ext_resource path="res://menu_textures/glow_2.png" type="Texture" id=4]
[ext_resource path="res://menu_textures/glow_3.png" type="Texture" id=5]
[ext_resource path="res://menu_textures/glow_4.png" type="Texture" id=6]
[ext_resource path="res://menu_textures/orig_1.png" type="Texture" id=7]

[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 2 )
shader_param/glow1 = null
shader_param/glow2 = null
shader_param/glow3 = null
shader_param/glow4 = null
shader_param/glowg = 1.0
shader_param/texture_orig = ExtResource( 7 )
shader_param/texture_glow1 = ExtResource( 3 )
shader_param/texture_glow2 = ExtResource( 4 )
shader_param/texture_glow3 = ExtResource( 5 )
shader_param/texture_glow4 = ExtResource( 6 )

[node name="scene" type="Node2D"]

[node name="menu" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 1 )

[node name="menu_texture" type="TextureRect" parent="menu"]
material = SubResource( 1 )
margin_right = 1280.0
margin_bottom = 720.0
texture = ExtResource( 7 )

[node name="buttons" type="Control" parent="menu"]
margin_right = 40.0
margin_bottom = 40.0

[node name="b1" type="TextureButton" parent="menu/buttons"]
margin_left = 88.0
margin_top = 296.0
margin_right = 289.0
margin_bottom = 353.0

[node name="b2" type="TextureButton" parent="menu/buttons"]
margin_left = 92.0
margin_top = 382.0
margin_right = 294.0
margin_bottom = 439.0

[node name="b3" type="TextureButton" parent="menu/buttons"]
margin_left = 85.4991
margin_top = 504.253
margin_right = 253.499
margin_bottom = 561.253
rect_rotation = -45.0
rect_pivot_offset = Vector2( 84, 28 )

[node name="b4" type="TextureButton" parent="menu/buttons"]
margin_left = 204.327
margin_top = 529.335
margin_right = 342.327
margin_bottom = 565.335
rect_rotation = 90.0
rect_pivot_offset = Vector2( 69, 18 )

[node name="popup" type="AcceptDialog" parent="menu"]
margin_right = 83.0
margin_bottom = 58.0
popup_exclusive = true
dialog_text = "No on-click(on-pressed) texture :)"
[connection signal="button_down" from="menu/buttons/b1" to="menu" method="_on_b1_button_down"]
[connection signal="button_up" from="menu/buttons/b1" to="menu" method="_on_b1_button_up"]
[connection signal="mouse_entered" from="menu/buttons/b1" to="menu" method="_on_b1_mouse_entered"]
[connection signal="mouse_exited" from="menu/buttons/b1" to="menu" method="_on_b1_mouse_exited"]
[connection signal="pressed" from="menu/buttons/b1" to="menu" method="_on_b1_pressed"]
[connection signal="button_down" from="menu/buttons/b2" to="menu" method="_on_b2_button_down"]
[connection signal="button_up" from="menu/buttons/b2" to="menu" method="_on_b2_button_up"]
[connection signal="mouse_entered" from="menu/buttons/b2" to="menu" method="_on_b2_mouse_entered"]
[connection signal="mouse_exited" from="menu/buttons/b2" to="menu" method="_on_b2_mouse_exited"]
[connection signal="pressed" from="menu/buttons/b2" to="menu" method="_on_b2_pressed"]
[connection signal="button_down" from="menu/buttons/b3" to="menu" method="_on_b3_button_down"]
[connection signal="button_up" from="menu/buttons/b3" to="menu" method="_on_b3_button_up"]
[connection signal="mouse_entered" from="menu/buttons/b3" to="menu" method="_on_b3_mouse_entered"]
[connection signal="mouse_exited" from="menu/buttons/b3" to="menu" method="_on_b3_mouse_exited"]
[connection signal="pressed" from="menu/buttons/b3" to="menu" method="_on_b3_pressed"]
[connection signal="button_down" from="menu/buttons/b4" to="menu" method="_on_b4_button_down"]
[connection signal="button_up" from="menu/buttons/b4" to="menu" method="_on_b4_button_up"]
[connection signal="mouse_entered" from="menu/buttons/b4" to="menu" method="_on_b4_mouse_entered"]
[connection signal="mouse_exited" from="menu/buttons/b4" to="menu" method="_on_b4_mouse_exited"]
[connection signal="pressed" from="menu/buttons/b4" to="menu" method="_on_b4_pressed"]
